package com.pwt.repository;

import com.pwt.model.ProductManagePOJO;
import com.pwt.repository.base.BaseRepository;
import com.pwt.entity.ManageFeature;
import org.hibernate.annotations.SQLDelete;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * ManageFeature Repository层
 *
 * @author auto generated
 * @date 2021-08-31 12:03:28
 */
public interface ManageFeatureRepository extends BaseRepository<ManageFeature, String> {
    @Modifying
    @Query(value = "delete from [manage_feature] where product_manage_id =?1",nativeQuery = true)
    int deleteByProductManageId(@Param("productManageId") String productManageId);

}
